package com.lhd.service;

import com.lhd.pojo.PageBean;
import com.lhd.pojo.PageCondition;
import com.lhd.pojo.Site;

import java.util.List;

public interface SiteService {
    List<Site> getAll();

    PageBean<Site> getWithCondition(String name, Integer capacity, Integer curCapacity, String address, String phone, PageCondition pageCondition);

    void updateSite(Site site);

    void remove(Integer id);

    void add(Site site);
}
